/**
 * 
 */
package fx.parser;

/**
 * @author sajia
 *
 */
public abstract class BooleanExpression {
	public MatchResult matchesWith(final String input) {
		MatchResult result = new MatchResult();
		this.matchesWith(input, result);
		return result;
	}
	
	protected abstract void matchesWith(final String input, final MatchResult result);
}
